package com.ruoyi.community.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动列表对象 owner_activity
 * 
 * @author ruoyi
 * @date 2021-08-28
 */
public class OwnerActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 业委会活动id */
    private String activityId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 地点 */
    @Excel(name = "地点")
    private String place;

    /** 奖励积分 */
    @Excel(name = "奖励积分")
    private Long reward;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date syncTime;

    /** 浏览人数 */
    @Excel(name = "浏览人数")
    private Long viewNumber;

    /** 报名人数 */
    @Excel(name = "报名人数")
    private Long enrollNumber;

    /** 参与人数 */
    @Excel(name = "参与人数")
    private Long participateNumber;

    /** 签到码 */
    @Excel(name = "签到码")
    private Long registerCode;

    /** 社区id */
    @Excel(name = "社区id")
    private Long communityId;

    public void setActivityId(String activityId) 
    {
        this.activityId = activityId;
    }

    public String getActivityId() 
    {
        return activityId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setReward(Long reward) 
    {
        this.reward = reward;
    }

    public Long getReward() 
    {
        return reward;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setSyncTime(Date syncTime) 
    {
        this.syncTime = syncTime;
    }

    public Date getSyncTime() 
    {
        return syncTime;
    }
    public void setViewNumber(Long viewNumber) 
    {
        this.viewNumber = viewNumber;
    }

    public Long getViewNumber() 
    {
        return viewNumber;
    }
    public void setEnrollNumber(Long enrollNumber) 
    {
        this.enrollNumber = enrollNumber;
    }

    public Long getEnrollNumber() 
    {
        return enrollNumber;
    }
    public void setParticipateNumber(Long participateNumber) 
    {
        this.participateNumber = participateNumber;
    }

    public Long getParticipateNumber() 
    {
        return participateNumber;
    }

    public void setRegisterCode(Long registerCode)
    {
        this.registerCode = registerCode;
    }

    public Long getRegisterCode()
    {
        return registerCode;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("activityId", getActivityId())
                .append("title", getTitle())
                .append("content", getContent())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("place", getPlace())
                .append("reward", getReward())
                .append("creater", getCreater())
                .append("syncTime", getSyncTime())
                .append("viewNumber", getViewNumber())
                .append("enrollNumber", getEnrollNumber())
                .append("participateNumber", getParticipateNumber())
                .append("registerCode", getRegisterCode())
                .append("communityId", getCommunityId())
                .toString();
    }
}
